<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>41分页按钮放大效果</title>
    <style>
        .box {
            width: 100%;
            margin: 50px auto;
            text-align: center;
            line-height: 36px;
        }
        
        .box a {
            display: inline-block;
            text-decoration: none;
            color: #333;
            width: 36px;
            height: 36px;
            margin: 10px;
            border: 1px solid rgb(4, 44, 105);
            border-radius: 50%;
            transition: all .2s;
        }
        
        .box a:hover {
            transform: scale(1.3);
            background-color: orange;
        }
        
        ul {
            width: 415px;
            height: 38px;
            margin: 0 auto;
        }
        
        li {
            float: left;
            list-style: none;
            width: 36px;
            height: 36px;
            border: 1px solid green;
            line-height: 36px;
            text-align: center;
            margin: 10px;
            transition: all .3s;
            border-radius: 50%;
            cursor: pointer;
        }
        
        li:hover {
            transform: scale(1.3);
        }
    </style>
</head>

<body>
    <div class="box">
        <a href="#">1</a>
        <a href="#">2</a>
        <a href="#">3</a>
        <a href="#">4</a>
        <a href="#">5</a>
    </div>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
        <li>6</li>
        <li>7</li>
    </ul>
</body>

</html>